//
//  LDBottomPopView.h
//  指乎
//
//  Created by Dean on 2018/11/20.
//  Copyright © 2018 Dean. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^HideBlock)(void);

typedef void(^SureBlock)(void);

NS_ASSUME_NONNULL_BEGIN

@interface LDBottomPopView : UIView
@property (nonatomic, weak, readonly) UIView *alertView;
@property (nonatomic, strong) UIView *backgroundView;
@property (nonatomic, strong) UIView *backView;
@property (nonatomic, strong) UILabel *lineView;
@property (nonatomic, assign) BOOL backgoundTapDismissEnable;  // default NO
@property (nonatomic, copy)HideBlock hideblock;
@property (nonatomic, copy)SureBlock sureblock;
@property (nonatomic)BOOL sureBtnEnable;
@property (nonatomic, strong) UIButton *leftBtn;
@property (nonatomic, strong) UIButton *rightBtn;
@property (nonatomic, copy) NSString *centerTitle;


- (void)addTagert:(id)tagert selector:(SEL)sel;

- (instancetype)initWithAlertView:(UIView *)tipView;

- (instancetype)initWithContentView:(UIView *)contentView;

- (void)show;
- (void)hide;

@end

NS_ASSUME_NONNULL_END
